
var qiniu = require("qiniu");
qiniu.conf.ACCESS_KEY = 'FfxM8pZDEPPTamydOy7B2xD94RbZ_wQU5H8Zvdk8';
qiniu.conf.SECRET_KEY = 'Jbb36Jt3kPuPxwEc5d62TdOg3k7SWLMROBbGlAJR';
bucket = 'dayuan';

exports.qiniuToken = function() {
    var putPolicy = new qiniu.rs.PutPolicy(bucket);
	return putPolicy.token();
}

